Re: [FFmpeg-user] fragmented mp4 and playing while converting

2021-05-06 Thread Julien Dotsev
Hi Carl,
Yes as I told you this are my limits. The  reason  I don't preconvert is
simple - space. If I do it I lose  the concept of my app. I know that is
easier but is not what I'm looking for.

There are api serveces who do that but it is too expensive if I do it for a
lot of users. That's why I look for a way to do it by myself with ffmpeg.

Working with any browser is not a must. If I make it work even with one is
enough for my purposes.

Thanks.




On Thu, 6 May 2021, 20:17 Carl Zwanzig,  wrote:

> First off, do not top-post in this mailing list (it's in the FAQ, link in
> an
> earlier email)
>
> On 5/5/2021 6:29 PM, Julien Dotsev wrote:
> > As I mentioned above I want to be able to play it in a HTML tag.
> As
> > in a video tag it can be only 3 formats.  I can't play avi, so that's
> why I
> > try to convert it.
> OK, then convert to a compatible format upload that (however to fully
> support the video tag, you'll need multiple formats to match what the
> browsers want- mp4/ogg/webm).
>
> BTW, because of the way ogg containers are constructed, you should have
> better luck with them than mp4.
>
> > I have a server with files. Not all of them are  HTML tag
> > compatible. I want to be able to play them in a browser, but I don't
> > want to keep another copy with another format on the server.
> Just do it, life will be much simpler.
>
> > And I can not convert them and have the converted copy either because I
> > must be able to give back the original file to the user.Don't erase the
> original file?
>
> https://web.dev/media/ has some useful info about using the video tag.
>
> You're much better off pre-converting the files. Is there any specific
> reason you can't do that?
>
> Later,
>
> z!
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


Re: [FFmpeg-user] fragmented mp4 and playing while converting

2021-05-05 Thread Julien Dotsev
Hi Carl,
As I mentioned above I want to be able to play it in a HTML tag.  As
in a video tag it can be only 3 formats.  I can't play avi, so that's why I
try to convert it.

I have a server with files. Not all of them are  HTML tag
compatible. I want to be able to play them in a browser, but I don't
want to keep another copy with another format on the server. And I can not
convert them and have the converted copy either because I must be able to
give back the original file to the user. So that's why I try to play it
during the conversion.
I suppose the live streaming is done in the same way. You convert the
stream to a compatible format and then you embed it in the  tag,
right?

Do you have any suggestions?

Julian

On Thu, May 6, 2021 at 3:05 AM Carl Zwanzig  wrote:

> On 5/5/2021 5:50 PM, Julien Dotsev wrote:
> > ffmpeg -re -i input.avi -movflags
> > +faststart  output.mp4
> >
> > but like this I can not open at all the file during the conversion.
> Among other things, AFAIK -movflags +faststart happens after the
> conversion
> has been finalized and involves writing a new file with the parts
> rearranged.
>
> > Any suggestions?
> Not top-posting on this list?
>
> Why do you want to play the output file during conversion? Can you play
> the
> input file instead? What are you trying to accomplish?
>
> z!
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


Re: [FFmpeg-user] fragmented mp4 and playing while converting

2021-05-05 Thread Julien Dotsev
Hi Dennis,
Thank you for your reply. I tried your command:

ffmpeg -re -i input.avi -movflags
+faststart  output.mp4

but like this I can not open at all the file during the conversion.

Any suggestions?

Julian

On Wed, May 5, 2021 at 1:00 PM Dennis Mungai  wrote:

> On Sun, 2 May 2021 at 04:54, Julien Dotsev  wrote:
>
> > Hi, I'm looking for a possibility to play the output file during the
> > conversion. I tried with fragmented mp4 and this command:
> > ffmpeg -i input.avi -movflags
> > +frag_keyframe+separate_moof+omit_tfhd_offset+empty_moov output.mp4
> >
> > The problem I have is that when I play the output it plays until the
> > momentary time duration of the video. For example If I hit play and I
> have
> > 2 min converted video at that moment it will play just the 2 minutes and
> it
> > will not play more even if at the end of that 2 minutes all the video is
> > converted.
> >
> > Is there any way to let the video play all the way during its conversion?
> > Maybe some way  to insert the real time duration of the video? or maybe
> > another video format? Anything that can let me play the video in an html
> >  tag during its conversion.
> >
> > Thank you.
>
>
> Try this:
>
> ffmpeg -re -i input.avi -movflags
> +faststart  output.mp4
>
> That will encode the file in real time, allowing for real time playback.
>
> The other movfpags are useless unless you’re writing fragmented content,
> such as fmp4 for HLS or DASH. The faststart movflag is sufficient.
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


[FFmpeg-user] fragmented mp4 and playing while converting

2021-05-05 Thread Julien Dotsev
Hi, I'm looking for a possibility to play the output file during the
conversion. I tried with fragmented mp4 and this command:

ffmpeg -i input.avi -movflags
+frag_keyframe+separate_moof+omit_tfhd_offset+empty_moov output.mp4

The problem I have is that when I play the output it plays until the
momentary time duration of the video. For example If I hit play and I have
2 min converted video at that moment it will play just the 2 minutes and it
will not play more even if at the end of that 2 minutes all the video is
converted.

Is there any way to let the video play all the way during its conversion?
Maybe some way  to insert the real time duration of the video? or maybe
another video format? Anything that can let me play the video in an html
 tag during its conversion.

Thank you in advance!
Julian
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


[FFmpeg-user] fragmented mp4 and playing while converting

2021-05-01 Thread Julien Dotsev
Hi, I'm looking for a possibility to play the output file during the
conversion. I tried with fragmented mp4 and this command:
ffmpeg -i input.avi -movflags
+frag_keyframe+separate_moof+omit_tfhd_offset+empty_moov output.mp4

The problem I have is that when I play the output it plays until the
momentary time duration of the video. For example If I hit play and I have
2 min converted video at that moment it will play just the 2 minutes and it
will not play more even if at the end of that 2 minutes all the video is
converted.

Is there any way to let the video play all the way during its conversion?
Maybe some way  to insert the real time duration of the video? or maybe
another video format? Anything that can let me play the video in an html
 tag during its conversion.

Thank you in advance!
Julian
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


Re: [FFmpeg-user] convert a video to some format and than bring it back exactly the same

2021-04-29 Thread Julien Dotsev
Thank you Moritz for your reply.
Have a nice day too.
Julian


On Thu, 29 Apr 2021, 11:46 Moritz Barsnick,  wrote:

> Hi Julien,
>
> On Thu, Apr 29, 2021 at 04:17:20 +0200, Julien Dotsev wrote:
> > I see there is a difference in the file size. The first avi is *1462KB*
> and
> > after the reconversion is *1474KB*.
> >
> > My question is is there a way to take a video file from a client, convert
> > it to some readable by  HTML  tag format and after I finish using
> it
> > be able to bring to the client the original file, exactly the same.
>
> No, there is no such way. Every video operation with ffmpeg involves
> demuxing and muxing. And every muxer - so also ffmpeg's - has more or
> less subtle differences. ffmpeg may be less efficient (therefore the
> larger size), have other presents, and so on. Furthermore, your first
> operation may also lose metadata or data streams, which your second
> operation cannot recover.
>
> Cheers,
> Moritz
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


[FFmpeg-user] convert a video to some format and than bring it back exactly the same

2021-04-28 Thread Julien Dotsev
Hi,
When i convert a video for example using this command:

*ffmpeg -i bird.avi -c:v copy -c:a copy -y bird.mkv*

and then convert it back:

*ffmpeg -i bird.mkv -c:v copy -c:a copy -y bird.avi*

I see there is a difference in the file size. The first avi is *1462KB* and
after the reconversion is *1474KB*.

My question is is there a way to take a video file from a client, convert
it to some readable by  HTML  tag format and after I finish using it
be able to bring to the client the original file, exactly the same. Storing
the original file is not a solution in my case.Storage problem.

Thanks in advance,
Julius
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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


Re: [FFmpeg-user] Split a video file in two by size and merge itback

2019-10-21 Thread Julien Dotsev
Yes thanks again Moritz. I will do that next time.
Julien

On Mon, 21 Oct 2019, 10:01 Moritz Barsnick,  wrote:

> On Sun, Oct 20, 2019 at 23:40:20 +0200, Julien Dotsev wrote:
> > Yes, the ts file works exactly as you said. It can be split and every
> part
> > is readable. But As I said I want to be able to keep the original file.
> So
> > if it is mp4 for example and I converted to mpeg-ts, when I reconvert it
> > back there is a file size increase. Is there a way to avoid that?
>
> This means you are actually not splitting (because that can't easily be
> done with actual MP4 containers), but remuxing. ffmpeg can't exactly
> reconstruct the original container, as explained in my response in the
> other thread.
>
> As Carl Eugen worte: Always when describing such as issue, please
> remember to show us the actual command line you used, and the command's
> complete, uncut console output.
>
> Thanks,
> Moritz
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

Re: [FFmpeg-user] A command for splitting a video file by file size

2019-10-21 Thread Julien Dotsev
Ok. Thank you Moritz.

On Mon, 21 Oct 2019, 09:48 Moritz Barsnick,  wrote:

> On Mon, Oct 21, 2019 at 00:51:24 +0200, Julien Dotsev wrote:
> > What is dd?
>
> dd is a command line tool. (Also available for other OSs than Unix.)
>
> To take up your example:
>
> $ dd if=inputfile.ext bs=1M skip=4 of=outputfile.ext
>
> But if you're doing this with a video file, the result can be
> unplayable. This depends on the format of the video file, and possibly
> on its content.
>
> If you want to use ffmpeg to split a file, please understand that
> ffmpeg always demuxes and remuxes the video content, and usually cannot
> preserve the exact original container.
>
> Cheers,
> Moritz
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

Re: [FFmpeg-user] A command for splitting a video file by file size

2019-10-20 Thread Julien Dotsev
What is dd?

On Mon, 21 Oct 2019, 00:00 Carl Eugen Hoyos,  wrote:

>
>
> > Am 20.10.2019 um 22:58 schrieb Julien Dotsev :
> >
> > I want to split a file by size but starting from a specific byte or bit.
> > For example I have a file of 6mb and I want to take the part from 4mb to
> > the end.  Is it possible to do that?
>
> It should be possible with dd.
>
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

Re: [FFmpeg-user] Split a video file in two by size and merge itback

2019-10-20 Thread Julien Dotsev
Yes, the ts file works exactly as you said. It can be split and every part
is readable. But As I said I want to be able to keep the original file. So
if it is mp4 for example and I converted to mpeg-ts, when I reconvert it
back there is a file size increase. Is there a way to avoid that?

Julien

На чт, 17.10.2019 г. в 13:26 ч. Julien Dotsev  написа:

> Hey Moritz,
> That's great advice!
> I will definitely try it.
>
> Thank you very much!
> Julien
>
>
> On Thu, 17 Oct 2019, 12:14 Moritz Barsnick,  wrote:
>
>> On Thu, Oct 17, 2019 at 03:44:49 +0200, Julien Dotsev wrote:
>> > Actually every bit. I want to be able to bring back the original file
>> > unchanged up to every bit. But every chunk playable.
>>
>> If you want not only the content (i.e. the stream), but also everything
>> else including the container to be identical, I believe the best
>> (perhaps only) choice is to use MPEG-TS as a container.
>>
>> In theory, you should be able to split MPEG-TS files at arbitrary
>> bytes. I have bad experiences with that, but it works great at packet
>> boarders, meaning your segments need to be exact multiples of 188
>> bytes. This works great for all my players (ffplay, mplayer, mpv, VLC,
>> and my Set Top Box), and the binary splits can of course just be
>> reassembled to create the original file.
>>
>> I often cut my files on Linux with dd:
>>
>> $ dd if=input.ts bs=188 skip=10325 count=11877 of=output.ts
>>
>> but for equally sized files, you would use "split", e.g.:
>>
>> $ split --bytes=$((188 * 11877)) -d input.ts output.ts.
>>
>> Cheers,
>> Moritz
>> ___
>> ffmpeg-user mailing list
>> ffmpeg-user@ffmpeg.org
>> https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

[FFmpeg-user] Covert to TS and back

2019-10-20 Thread Julien Dotsev
Why when I convert a video file to mpeg-ts and then convert it back to the
original one there is a file size increase? Is there a way to avoid that? I
want to be able to bring back the original file. Is it possible?

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

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

[FFmpeg-user] A command for splitting a video file by file size

2019-10-20 Thread Julien Dotsev
Hi,
I want to split a file by size but starting from a specific byte or bit.
For example I have a file of 6mb and I want to take the part from 4mb to
the end.  Is it possible to do that?

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

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

Re: [FFmpeg-user] Split a video file in two by size and merge itback

2019-10-17 Thread Julien Dotsev
Hey Moritz,
That's great advice!
I will definitely try it.

Thank you very much!
Julien


On Thu, 17 Oct 2019, 12:14 Moritz Barsnick,  wrote:

> On Thu, Oct 17, 2019 at 03:44:49 +0200, Julien Dotsev wrote:
> > Actually every bit. I want to be able to bring back the original file
> > unchanged up to every bit. But every chunk playable.
>
> If you want not only the content (i.e. the stream), but also everything
> else including the container to be identical, I believe the best
> (perhaps only) choice is to use MPEG-TS as a container.
>
> In theory, you should be able to split MPEG-TS files at arbitrary
> bytes. I have bad experiences with that, but it works great at packet
> boarders, meaning your segments need to be exact multiples of 188
> bytes. This works great for all my players (ffplay, mplayer, mpv, VLC,
> and my Set Top Box), and the binary splits can of course just be
> reassembled to create the original file.
>
> I often cut my files on Linux with dd:
>
> $ dd if=input.ts bs=188 skip=10325 count=11877 of=output.ts
>
> but for equally sized files, you would use "split", e.g.:
>
> $ split --bytes=$((188 * 11877)) -d input.ts output.ts.
>
> Cheers,
> Moritz
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

Re: [FFmpeg-user] Split a video file in two by size and merge itback

2019-10-16 Thread Julien Dotsev
Actually every bit. I want to be able to bring back the original file
unchanged up to every bit. But every chunk playable.

On Thu, 17 Oct 2019, 03:42 ,  wrote:

>
>
>
>
> On Wednesday 16/10/2019 at 6:35 pm, Julien Dotsev  wrote:
> > Hi,
> > But with usplit command the chunks won't be playable i think. M'i
> > right?
> >
> >
> > yes quite likely, what else would you like to preserve with the split?
> >
> >
> > d
> >
> > On Thu, 17 Oct 2019, 03:26 ,  wrote:
> >
> >
> >>
> >>
> >>
> >>
> >>
> >> On Wednesday 16/10/2019 at 5:10 pm, Julien Dotsev  wrote:
> >>>
> >>> Hi,
> >>> Is it possible to split a video in two by size and merge it back to
> >>> the
> >>> original file? Can that merged file be exactly the same as the
> >>> original one?
> >>>
> >>> Julien
> >>>
> >>>
> >>> there's this: https://www.computerhope.com/unix/usplit.htm
> >>>
> >>>
> >>> d
> >>> ___
> >>> ffmpeg-user mailing list
> >>> ffmpeg-user@ffmpeg.org
> >>> https://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
> >> https://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
> > https://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
> https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

Re: [FFmpeg-user] Split a video file in two by size and merge it back

2019-10-16 Thread Julien Dotsev
Hi,
But with usplit command the chunks won't be playable i think. M'i right?

On Thu, 17 Oct 2019, 03:26 ,  wrote:

>
>
>
>
> On Wednesday 16/10/2019 at 5:10 pm, Julien Dotsev  wrote:
> > Hi,
> > Is it possible to split a video in two by size and merge it back to
> > the
> > original file? Can that merged file be exactly the same as the
> > original one?
> >
> > Julien
> >
> >
> > there's this: https://www.computerhope.com/unix/usplit.htm
> >
> >
> > d
> > ___
> > ffmpeg-user mailing list
> > ffmpeg-user@ffmpeg.org
> > https://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
> https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

Re: [FFmpeg-user] Split a video file in two by size and merge it back

2019-10-16 Thread Julien Dotsev
Hi Carl,
By size i mean by bits and by the same i mean identical. Exactly as it was
before.
I can do this programmatically by splitting a file into bits. Than when I
merge it back it will be exactly as the original one. The problem is that I
want to be able to visualize every part. And by this kind of splitting a
video player won't play them.

Julien

On Thu, 17 Oct 2019, 02:58 Carl Zwanzig,  wrote:

> On 10/16/2019 5:10 PM, Julien Dotsev wrote:
> > Is it possible to split a video in two by size and merge it back to the
> > original file? Can that merged file be exactly the same as the original
> one?
>
> By size? Is that half the number of seconds, of v or a frames, packets, or
> bytes?
>
> Split how? Does that mean using ffmpeg or an editor to take the the first
> n
> seconds/frames and the remainder or using a low-level took to take the
> first
> n BYTES and the remainder? In the latter, the second file probably won't
> be
> playable.
>
> What is "the same"?
> If you mean bit-for-bit the same, highly unlikely. If you mean having the
> same content, then possibly (depending on codecs, split point, and
> probably
> other factors).
>
> In other words, please expand on the question.
>
> Later,
>
> z!
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://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
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

[FFmpeg-user] Split a video file in two by size and merge it back

2019-10-16 Thread Julien Dotsev
Hi,
Is it possible to split a video in two by size and merge it back to the
original file? Can that merged file be exactly the same as the original one?

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

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